all:tcpclient tcpserver

tcpclient:tcpclientMain.cc
	g++ -o $@ $^ -std=c++14

tcpserver:tcpserverMain.cc
	g++ -o $@ $^ -std=c++14 -lpthread
# make_unique C++14用法

.PHONY:clean
clean:
	rm tcpserver tcpclient